package javacore.fundamentals.accessmodifier.pub;

public class AllPublic {
	public String name;
	public double money;

	public AllPublic(String name, double money) {
		this.name = name;
		this.money = money;
	}
	
	public void printInfo(){
		System.out.println("name" + " " + money);
	}
}
